﻿

using DevExpress.LookAndFeel;
using DevExpress.Skins;
using DevExpress.UserSkins;
using GnpFine.StartUI.WinFormFu;
using System;
using System.Windows.Forms;

// furion 源码库的实例是这么写的
// Serve.RunNative(RunOptions.Default, Serve.IdleHost.Urls);   // 随机端口

Serve.RunNative(includeWeb: false);//furion框架配置，默认启动

ApplicationConfiguration.Initialize();

BonusSkins.Register();
SkinManager.EnableFormSkins();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");

Application.Run(Native.CreateInstance<MainForm>());

//Application.Run(new MainForm());

/*
            if (!String.IsNullOrEmpty(BaseSystemInfo.SkinMaskColor))
                UserLookAndFeel.Default.SkinMaskColor =
                    System.Drawing.ColorTranslator.FromHtml(BaseSystemInfo.SkinMaskColor);
            if (!String.IsNullOrEmpty(BaseSystemInfo.SkinMaskColor2))
                UserLookAndFeel.Default.SkinMaskColor2 =
                    System.Drawing.ColorTranslator.FromHtml(BaseSystemInfo.SkinMaskColor2);

 */




